home *** CD-ROM | disk | FTP | other *** search
/ Rock County Sheriff's Off…nternet Safety Initative / Rock County Sher.iso / pc / css / styles / jPlayer.swf / scripts / happyworm / jPlayer / JplayerEvent.as next >
Encoding:
Text File  |  2012-09-13  |  3.1 KB  |  88 lines

  1. package happyworm.jPlayer
  2. {
  3.    import flash.events.Event;
  4.    
  5.    public class JplayerEvent extends Event
  6.    {
  7.       public static const JPLAYER_READY:String = "jPlayer_ready";
  8.       
  9.       public static const JPLAYER_FLASHRESET:String = "jPlayer_flashreset";
  10.       
  11.       public static const JPLAYER_RESIZE:String = "jPlayer_resize";
  12.       
  13.       public static const JPLAYER_REPEAT:String = "jPlayer_repeat";
  14.       
  15.       public static const JPLAYER_CLICK:String = "jPlayer_click";
  16.       
  17.       public static const JPLAYER_ERROR:String = "jPlayer_error";
  18.       
  19.       public static const JPLAYER_WARNING:String = "jPlayer_warning";
  20.       
  21.       public static const JPLAYER_LOADSTART:String = "jPlayer_loadstart";
  22.       
  23.       public static const JPLAYER_PROGRESS:String = "jPlayer_progress";
  24.       
  25.       public static const JPLAYER_SUSPEND:String = "jPlayer_suspend";
  26.       
  27.       public static const JPLAYER_ABORT:String = "jPlayer_abort";
  28.       
  29.       public static const JPLAYER_EMPTIED:String = "jPlayer_emptied";
  30.       
  31.       public static const JPLAYER_STALLED:String = "jPlayer_stalled";
  32.       
  33.       public static const JPLAYER_PLAY:String = "jPlayer_play";
  34.       
  35.       public static const JPLAYER_PAUSE:String = "jPlayer_pause";
  36.       
  37.       public static const JPLAYER_LOADEDMETADATA:String = "jPlayer_loadedmetadata";
  38.       
  39.       public static const JPLAYER_LOADEDDATA:String = "jPlayer_loadeddata";
  40.       
  41.       public static const JPLAYER_WAITING:String = "jPlayer_waiting";
  42.       
  43.       public static const JPLAYER_PLAYING:String = "jPlayer_playing";
  44.       
  45.       public static const JPLAYER_CANPLAY:String = "jPlayer_canplay";
  46.       
  47.       public static const JPLAYER_CANPLAYTHROUGH:String = "jPlayer_canplaythrough";
  48.       
  49.       public static const JPLAYER_SEEKING:String = "jPlayer_seeking";
  50.       
  51.       public static const JPLAYER_SEEKED:String = "jPlayer_seeked";
  52.       
  53.       public static const JPLAYER_TIMEUPDATE:String = "jPlayer_timeupdate";
  54.       
  55.       public static const JPLAYER_ENDED:String = "jPlayer_ended";
  56.       
  57.       public static const JPLAYER_RATECHANGE:String = "jPlayer_ratechange";
  58.       
  59.       public static const JPLAYER_DURATIONCHANGE:String = "jPlayer_durationchange";
  60.       
  61.       public static const JPLAYER_VOLUMECHANGE:String = "jPlayer_volumechange";
  62.       
  63.       public static const DEBUG_MSG:String = "debug_msg";
  64.       
  65.       public var data:JplayerStatus;
  66.       
  67.       public var msg:String = "";
  68.       
  69.       public function JplayerEvent(param1:String, param2:JplayerStatus, param3:String = "", param4:Boolean = false, param5:Boolean = false)
  70.       {
  71.          super(param1,param4,param5);
  72.          this.data = param2;
  73.          this.msg = param3;
  74.       }
  75.       
  76.       override public function clone() : Event
  77.       {
  78.          return new JplayerEvent(type,this.data,this.msg,bubbles,cancelable);
  79.       }
  80.       
  81.       override public function toString() : String
  82.       {
  83.          return formatToString("JplayerEvent","type","bubbles","cancelable","eventPhase","data","msg");
  84.       }
  85.    }
  86. }
  87.  
  88.